from django.db import models

# Create your models here.




class Topicnum(models.Model):
    query = models.ForeignKey('learnuser.Query', on_delete = models.CASCADE)
    question_id = models.CharField(max_length = 500)
    question_num = models.CharField(max_length = 200)
    question_type = models.CharField(max_length = 200)
    write = models.TextField()
    
    def __str__(self):
        return self.question_id




